查询零售小店活动业务代理
该接口为服务商或商户给零售小店活动查询业务代理的专用接口。 使用对象:活动创建方商户号、活动归属品牌的品牌主商户号或品牌经营商户号。
请求参数 | 类型 | 描述 |
---|---|---|
activity_id | string | 零售小店活动ID |
query | object | 声明请求的查询参数 |
offset | number | 分页页码 |
limit | number | 分页大小 |
php
$instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_activity_id_->representatives->getAsync([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives')->getAsync([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives']->getAsync([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_activity_id_->representatives->get([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives')->get([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives']->get([
'activity_id' => '3118550000000004',
'query' => [
'offset' => 0,
'limit' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
total_count | number | 小店活动业代总数 |
data | object[] | 小店活动业代集合 |
openid | string | 业务代理的OpenID |
offset | number | 分页页码 |
limit | number | 分页大小 |
参阅 官方文档